package com.wofish.goods.domain;


import com.wofish.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商品类型表 wf_b2c_goods_type
 * 
 * @author wofish
 * @date 2019-04-14
 */
public class GoodsType extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 类型序号 */
	private Long typeId;
	/** 类型名称 */
	private String name;
	/** 类型别名(|分隔,前后|) */
	private String alias;
	/** 1 实体商品 0 */
	private Integer physical;
	/** 排序 */
	private Integer orderNum;
	/**  */
	private Integer disabled;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	public void setTypeId(Long typeId) 
	{
		this.typeId = typeId;
	}

	public Long getTypeId() 
	{
		return typeId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAlias(String alias) 
	{
		this.alias = alias;
	}

	public String getAlias() 
	{
		return alias;
	}
	public void setPhysical(Integer physical) 
	{
		this.physical = physical;
	}

	public Integer getPhysical() 
	{
		return physical;
	}
	public void setOrderNum(Integer orderNum) 
	{
		this.orderNum = orderNum;
	}

	public Integer getOrderNum() 
	{
		return orderNum;
	}
	public void setDisabled(Integer disabled) 
	{
		this.disabled = disabled;
	}

	public Integer getDisabled() 
	{
		return disabled;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("name", getName())
            .append("alias", getAlias())
            .append("physical", getPhysical())
            .append("orderNum", getOrderNum())
            .append("disabled", getDisabled())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
